package com.fadadianqi.logistics.sell.model;

import com.fadadianqi.commons.BaseObject;

import java.util.Date;

public class Bill extends BaseObject {

    /**
     *
     */
    private static final long serialVersionUID = 2827111813442252952L;

    public static final String PROP_ID = "id";
    public static final String PROP_VILLAGE_ID = "villageId";
    public static final String PROP_ADD_TIME = "addTime";
    public static final String PROP_CUSTOMER_ID = "customerId";
    public static final String PROP_TOWN_ID = "townId";
    public static final String PROP_IS_RETURN = "isReturn";
    public static final String PROP_IS_CHECKED = "isChecked";

    private String villageId;
    private String customerId;
    private Date addTime;
    private Double payables; //应付账款
    private Double realPayables; // 实付账款
    private Double cost; // 成本
    private Double purchase; // 采购价格
    private String memo; // 订单备注

    private Boolean isChecked = Boolean.FALSE; // 判断是否已经结账
    private Boolean isReturn = Boolean.FALSE;


    public Double getPurchase() {
        return purchase;
    }

    public void setPurchase(Double purchase) {
        this.purchase = purchase;
    }

    public Boolean getIsReturn() {
        return isReturn;
    }

    public void setIsReturn(Boolean isReturn) {
        this.isReturn = isReturn;
    }

    public Boolean getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Boolean isChecked) {
        this.isChecked = isChecked;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public String getVillageId() {
        return villageId;
    }

    public void setVillageId(String villageId) {
        this.villageId = villageId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Double getPayables() {
        return payables;
    }

    public void setPayables(Double payables) {
        this.payables = payables;
    }

    public Double getRealPayables() {
        return realPayables;
    }

    public void setRealPayables(Double realPayables) {
        this.realPayables = realPayables;
    }
}
